if SERVER then
	registerCommand("bring", "Brings a player you specify to you", function(param)
		if not param[1]:IsValid() then
			return nil
		end
	
		local bringMsg = "caller brought target to them"
		local bringSound = "ambient/machines/teleport3.wav" //teleport1.wav also sounds nice
		if param["settings"]["bring_msg"] then
			bringMsg = param["settings"]["bring_msg"]
		end
		if param["settings"]["bring_sound"] then
			bringSound = param["settings"]["bring_sound"]
		end
		local bringTable = {}
		bringTable["caller"] = getCaller(param[1])
		local targ = string.Explode(" ", param[3])[1]
		local plyTarg = getPlayerByName(targ)
		if plyTarg then
			bringTable["target"] = plyTarg:GetName()
			local telePos = param[1]:GetPos() + Vector(35, 35, 0)
			local prop = ents.Create("prop_physics")
			prop:SetModel("props_wasteland/controlroom_filecabinet002a")
			prop:SetPos(telePos)
			prop:PhysicsInit()
			prop:PhysWake()
			if prop:IsInWorld() then
				plyTarg:SetPos(telePos)
				plyTarg:EmitSound(bringSound)
				display(param[1], "bring", { plyTarg }, parseDisplayMessage(bringMsg, bringTable))
			end
			prop:Remove()
		end
	end)
end